﻿using System.Collections.Generic;

namespace Crystal.Common.Model
{
    public partial class EntityType
    {
        public string Name;
        public byte SourceId;
        public byte? Parameter = 0;
    }
    
    public partial class ClientName
    {
        private short _ClientID;
        private string _CName;

        public short ClientID
        {
            get { return _ClientID; }
            set { _ClientID = value; }
        }

        public string CName
        {
            get { return _CName; }
            set { _CName = value; }
        }
    }

    public partial class ProjectSummary
    {
        private int _ProjectID;
        private string _ProjectName;
        private string _ProjectStatus;

        public int ProjectID
        {
            get { return _ProjectID; }
            set { _ProjectID = value; }
        }

        public string ProjectName
        {
            get { return _ProjectName; }
            set { _ProjectName = value; }
        }
        public string ProjectStatus
        {
            get { return _ProjectStatus; }
            set { _ProjectStatus = value; }
        }
    }

    public partial class ListingSummary
    {
        private int _ListingID;
        private string _ListingName;
        private short _RecordID;

        public int ListingID
        {
            get { return _ListingID; }
            set { _ListingID = value; }
        }

        public string ListingName
        {
            get { return _ListingName; }
            set { _ListingName = value; }
        }

        public short RecordID
        {
            get { return _RecordID; }
            set { _RecordID = value; }
        }
    }

    public class AddNewInvestor
    {
        public int UserId { get; set; }
        public int ProjectId { get; set; }
        public int InvestorID { get; set; }
        public int RowNumber { get; set; }
        public int LinkID { get; set; }
        public int FundID { get; set; }
        public string InvestorName { get; set; }
        public string FundName { get; set; }
        public bool IsInvestor { get; set; }
        public bool IsManaged { get; set; }
        public bool IsCutRow { get; set; }
        public string Notes { get; set; }
        public string Origin { get; set; }
        public string ID { get; set; }
        public string InvStatusCode { get; set; }
        public string Name { get; set; }
        public int MInvestorTypeID { get; set; }
        public string HeadInvestor { get; set; }
        public string Parent { get; set; }
        public string Type { get; set; }
        public string Style { get; set; }
        public string Turnover { get; set; }
        public string Activist { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Country { get; set; }
        public string Region { get; set; }
        public bool IsMasterDB { get; set; }
        public int DenseRank { get; set; }
        public int FundDenseRank { get; set; }
        public string Status { get; set; }
    }

}
